/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Deploy.Model
{

    /// <summary>
    ///  deploy
    /// </summary>
    public class Deploy
    {

        ///<summary>
        /// 上线单ID
        ///</summary>
        public string DeployId{ get; set; }
        ///<summary>
        /// 应用ID
        ///</summary>
        public string AppId{ get; set; }
        ///<summary>
        /// 应用名称
        ///</summary>
        public string AppName{ get; set; }
        ///<summary>
        /// 部署组名称
        ///</summary>
        public string GroupId{ get; set; }
        ///<summary>
        /// 部署组ID
        ///</summary>
        public string GroupName{ get; set; }
        ///<summary>
        /// 地域
        ///</summary>
        public string RegionId{ get; set; }
        ///<summary>
        /// 部署开始时间
        ///</summary>
        public int? StartTime{ get; set; }
        ///<summary>
        /// 部署结束时间
        ///</summary>
        public int? EndTime{ get; set; }
        ///<summary>
        /// 部署状态 0待部署, 1部署中, 2成功, 3失败, 4回滚中， 5回滚成功， 6回滚失败， 7已取消
        ///</summary>
        public int? DeployStatus{ get; set; }
        ///<summary>
        /// 描述
        ///</summary>
        public string Desc{ get; set; }
        ///<summary>
        /// 部署方式：1滚动部署，2蓝绿部署
        ///</summary>
        public int? DeployMethod{ get; set; }
        ///<summary>
        /// 部署来源：1url，2云编译，3云存储
        ///</summary>
        public int? DeploySource{ get; set; }
        ///<summary>
        /// 部署操作
        ///</summary>
        public string DeployCmd{ get; set; }
        ///<summary>
        /// 1使用输入的操作，2使用程序自带操作
        ///</summary>
        public int? CmdSource{ get; set; }
        ///<summary>
        /// 部署操作展示格式：1form,2ymal
        ///</summary>
        public int? CmdType{ get; set; }
        ///<summary>
        /// 项目类型 1tomcat,2
        ///</summary>
        public int? ProductType{ get; set; }
        ///<summary>
        /// 下载url
        ///</summary>
        public string DownloadUrl{ get; set; }
        ///<summary>
        /// md5
        ///</summary>
        public string Md5{ get; set; }
        ///<summary>
        /// 云编译项目名
        ///</summary>
        public string CompileProject{ get; set; }
        ///<summary>
        /// 云编译构建序号
        ///</summary>
        public string CompileSeries{ get; set; }
        ///<summary>
        /// 云存储空间
        ///</summary>
        public string OssSpace{ get; set; }
        ///<summary>
        /// 云存储目录
        ///</summary>
        public string OssDir{ get; set; }
        ///<summary>
        /// 文件类型：1.tar，2.zio,3.tar.gz
        ///</summary>
        public int? FileType{ get; set; }
        ///<summary>
        /// 是否可回滚 1是，2否
        ///</summary>
        public int? RollbackAble{ get; set; }
        ///<summary>
        /// 并发单位
        ///</summary>
        public int? ConcurrencyUnit{ get; set; }
        ///<summary>
        /// 并发机器数
        ///</summary>
        public int? ConcurrencyNum{ get; set; }
        ///<summary>
        /// 并发度
        ///</summary>
        public int? ConcurrencyPct{ get; set; }
        ///<summary>
        /// 负载均衡：1启动，2禁用
        ///</summary>
        public int? LbStatus{ get; set; }
        ///<summary>
        /// lb实例
        ///</summary>
        public string LbInstance{ get; set; }
        ///<summary>
        /// lb 后端实例
        ///</summary>
        public string LbBackend{ get; set; }
        ///<summary>
        /// 同名文件处理方式：1部署失败，2覆盖，3保留
        ///</summary>
        public int? RepeatPolicy{ get; set; }
        ///<summary>
        /// 通知频率：1异常发送，2每次发送
        ///</summary>
        public int? NoticeTrigger{ get; set; }
        ///<summary>
        /// 通知方式：1消息，2邮件，3短信
        ///</summary>
        public List<string> NoticeMethod{ get; set; }
        ///<summary>
        /// 使用分布式服务框架：0不使用，1使用
        ///</summary>
        public int? JdsfEnabled{ get; set; }
    }
}
